<?php

namespace app\mobile\controller;

use app\common\controller\Frontend;
use app\admin\model\Page as ModelPage;

class Index extends Frontend
{

    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';

    public function index()
    {
        $id = input('id',0,'intval');
        
        $pageinfo = ModelPage::where('status',1)->where('id',3)->find();
        
        $this->assign('info',$pageinfo);
        return $this->view->fetch();
    }
}